home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / texample.doc < prev    next >
Text File  |  2000-02-16  |  1KB  |  22 lines

  1. Now for some strange looking but powerful ideas. You don't have to understand them all just give them a try. Some interesting things can be done by setting a few simple aliases. Some of these aliases take advantage of AWNPipes GUI building feature covered in a different section of these docs.
  2.  
  3. alias see  echo >awnpipe:/xc "defg*nbitmap fn []*nimage*nopen"
  4.  
  5. Now 'see FILENAME' will display pictures using your datatypes.
  6.  
  7. alias readtext  echo >awnpipe:/xc "defg a cs *ntextfield a minw 200 minh 200 gt 0 bd ro datain []*nopen"
  8.  
  9. Now 'readtext FILENAME' will display a textfile.
  10.  
  11. alias toolt  type awnpipe:/xi[]
  12.  
  13. Now 'toolt FILENAME' will display the tooltypes of FILENAME. (do not include .info in FILENAME).
  14.  
  15. alias text2html copy awnpipe:t2h/f/h/r[]
  16.  
  17. Now 'text2html infile outfile' will create special html sequences for certain characters in a text file and save it in a new file. 
  18.  
  19. alias html2text copy awnpipe:t2h/f/u/r[]
  20.  
  21. Now 'html2text infile outfile' will convert special HTML sequences in a html file and save it in a new file. 
  22.